package com.rayo.accesscontrollercopy.model.network.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.rayo.accesscontrollercopy.config.NetworkConfig;

import java.util.Date;

/**
 * Created by yanghaojie on 2017/2/15.
 */

public class UpdateTimeApi {
    @JSONField(format = NetworkConfig.JSON_DATE_TIME)
    private Date time;

    public UpdateTimeApi() {
        time = new Date();
    }

    public UpdateTimeApi(Date time) {
        this.time = time;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
